package net.hn.hnms.biz.api.safety.monitor.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2022/7/26 17:40
 * 1.0 version
 */
@ApiModel("重点测点异常记录")
@Data
public class PointExceptionRecordListVo {
    @ApiModelProperty("报警开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("报警结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("报警类型")
    private String type;

    @ApiModelProperty("报警时长")
    private Long hours;

    @ApiModelProperty("最大值")
    private BigDecimal maxValue;

    @ApiModelProperty("最大值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date maxTime;
    @ApiModelProperty("数据时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dataTime;
}
